import request from '@/utils/request'

//提交数字化
export function digitalizationSvc(data) {
	return new Promise((resolve, reject) => {
		request({
			url: '/digitalizationSvc/save',
			method: 'post',
			data
		}).then(data => {
			resolve(data)
		}).catch((e) => {
			uni.showToast({
				title: e.msg,
				icon: 'none',
				duration: 2000
			})
			reject(e)
		})
	})
}
